<?php
/**
 * @author 天涯 <mail@phpha.com>
 * @copyright http://blog.phpha.com
 * @link http://blog.phpha.com/vncms
 * @version 1.0
 */
defined('APP_PATH') or exit('Access Denied');
class m_myad extends spModel{
	public $table = 'myad';
	public $pk = 'id';
	//自动验证
	public $verifier = array(
		'rules'=>array(
			'name'=>array(
				'notnull'=>true,
			),
			'url'=>array(
				'notnull'=>true,
			),
			'thumb'=>array(
				'notnull'=>true,
			),
		),
	);
}
